package back.mapper;

import back.pojo.Book;
import back.pojo.User;
import com.fasterxml.jackson.databind.ser.impl.UnknownSerializer;

import java.util.List;

public interface BookMapper {
    List<Book> queryBookList(Book book);

    int getCountBook(Book book);

    Book queryBookById(int id);

    List<Book> queryBookByISBN(Book book);

    void addBook(Book book);

    void updateBook(Book book);

    void deleteBookById(int id);

    void deleteBook(List<Integer> ids);
}
